<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2020/2/19
  Time: 15:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>A页面</title>
</head>
<body>
<jsp:useBean id="userBean" scope="session" class="com.ken.jsp.User" />
<jsp:setProperty name="userBean" property="id" value="1000"/>
<jsp:setProperty name="userBean" property="name" value="tony"/>

<form action="b.jsp" method="post">
    <input type="submit" value="跳转到B页面">

</form>
</body>
</html>
